Working on object avoidance and search sequence