Added function for distinguishing captured and simple locations.