changing loc to location