add __init__ to classes