added more functionality. Currently working on teach and Repeat