module counters, better exception handling, more stuff