Thanks both of you! My current set up is I(for fish caught)=I. And then when the sphitsp command was fulfilled I had I=I+1. Thanks for all the suggestions!