working on setLocation