can we just do an instanceof check?