add ex1s second solution