generalize location check step