Adding the create functionality