new way of module rebuilding