Factored out some magic numbers