checker class and implementation