Decided to put to_i calculation outside my method to make my method more reusable