added -T option