initialize_function