use instanceof