Finished implementation to add new entries.