take warn levels as arguments