added var statement to globals