complete first two exercises for the sample app