modify the interface for the incr and decr methods.
add methods.