getting check to work