removed helper_functions