adding Solution #2