brute solved without test