added x,y lockers for elements