modify library.rb