added interface for 2D navigation with orientation
removed trailing whitespaces