style
move alert level checking to reader