taha added method to code.rb