modified post.rb