fixed typo in comment
clarified comment on createNewEntry