continued working on item functions