task2b mostly completed