Added isDot() method