classCast error solved and isWorm/Food