add verbose flag, better output format