trying to get check to work