added var to message-class where we put the location of the temporary