add constructor/additem function