completed command line tool with time span