removed use of sensor object and improved maintenance of symmetry