added add_function decorator