Added alternate solution