added home global variable