add file sample.rb