Adding new entries functionality