Rewrite of workit