refactor lateral[ie]