implement increment and decrement methods