updated checks (now working)