added ++ and -- functions