And you should probably calculate prevAlleleDelta *first*, and then chose what numberToDisplay will be. I like that flow better.