added -ex