correcting the ability.rb file