comment added to errprint function