keep, keep2, and keep3
Use inc function to simplify tests.