changed __init__