add base of the equip item function.