Chapter3 sample app