new main file for lesson 6 and 7