solve 1-3, close #3