added detectTransferbleQuery class