changed number to variable