added __init__ to data