added import guards