validation for single layers