move checker to it's own class