mutable current_function = None