add method at div.rb