fixed create method to return the created entity!