revise as module export