Refactored the overload solution

add to Gemfile plz