working on main fn for 3_2