comments explaining override_functions purpose