modified post with solution