implemented Var and fixed Uri and Event