Refactor | Kyle & Beverly | replace magic numbers with variables