made __init__ work