return newly created entity