create dictionary in __init__ function