added setLocation