inc implementation