trying to get locations to work right