validation of lists