Error - not an integer. Simon Fraser University