validation library