what's too clever? the lambda part or the get_caseid part?