smarter way of setting temp location so it can be easy changed at the top of the class and not over written by setLocation function