gyroscope implementation added