rewrite seamoudle