redid locations_available with applicatives