updated error levels for better output.