added more details about state classifications and output formats.