implemented repeating commands