adding solution
adding alternate solution