working on Ch11Lab1. errors with duplicate method though