having error: prb is not lifetime?