use numeric comparison for status codes