added functionality for 360 degree controls and test cases