a nearly complete demo

a nearly complete demo