Added comments to explain how to wire it all up.