final how we solved it