debugging validation