posted project[2] solution