added incrementlocal method