replaced some magic numbers in the bumper class with variables