added more explanation of demo 3