add repeat command. implement times with repeat.