solve 4 problems