added sytem_warning initilization in __init__ function