make it usable as module