how to use it as a module