continued impl. Now path module is almost done.