Using Constant mode to repeat operations