added add_label() to dll interface