Update helper_functions.c