that was the brute force solution