Part of the create implementation