start controlling errors