sol for mini-project week4