constructor validator added