cleaned things up. added fatal led state