added a second solution