start brute force solution