pass location name to params hash