Entry Save function created