changing location to position since location is a keyword and seems to be causing problems'