changed setlocation types from number to string