added and tested more functionality for items