added -o option.