added item creation functionality