added __init__ to enable use as module