wrap as module