some extra comments. And fixed the order for the cursor transforms.