modify rocket loop implementation