added -b option