add the check_params and message