initial version of checker code