IDE update
Added offset and fixed increment bug.