changed references to number to 'integer' (more specific)