add comments for complex expantion