changed object markers to text + changed conditions to detect wall in front