Can you move the previous declaration of check out of begin so you can access it in this scope and then just add to it instead of re-declaring it?