Can you maybe add a comment for this exported function because I have been staring at it for a while now and I am not exactly sure how it would be used?