expect an array of locations