make it do percentages for warning and critical