adding hsr package,add CheckValA func