added function_sequence