started working on loader rewrite