added -X flag