using incr & succ functions