Refactored max score var into 'constant'