removing lambda for trace_number validation