initialize attributes in __init__