added counterhandler and coverage for such. closes #114