the sample app for the whole book CS369