Added solution and typo fix