added some add item code