Step 6 - implementing the create operation