finalize base structure of module