solve 3 problems