Variable names fixed and constant numbers generated to avoid magic numbers