change static_dict to acts as dict