changing the name of the size variable to N