added variable retrieval from server