addedd validation