cleaned up code and made our foodcritics and rubocops happy