add item fucntion by jamie20140922