working on detecting surroundings