lesson 7: displaying HP