use DoesExist to check variable