rebuild into module