added isDir method