removed debug state info, optimized output information.