starting with Rewrite using modules