Removed magic numeric literals and added meaningful variables.