skeleton for solution1