validation auxiliary methods