Changed number var to theNumber, added comment