linking it all together