Pivoting - work in progress.