validation checker