trying to solve probs