creating items by type working, database adjustments