cmd and repeater, commented code