Finalized add_entry.rb