simple location check