added 0 counting