Refactored code into method to take in params for highest_number.