added item.rb logic