This page will explain theory behind the linkage.