Create misc_functions.h