Rewrite ex41 with class