implement data checker