basic option parsing and printing
filtering