trying to fix undefined method 'remove' error on line 90 of rico.rb