Better attempt, poor results, 17 sec execution time