lambda-ai: don't subtract 1 from 0