common_functions