this is a bit difficult to understand. can you help clarify what this is doing?