check by instanceof operator?