IsDir() added