added escape menu and added variables for positions