Added another method for lesson 16