This line seems a bit confusing. Could you add a comment to explain what this does and why we need to call it?