removing terminator
moving incrementor