Made and implemented functions for creating items