added import validation