added demo 6 and updated demo 5