made heuristic not dumb

it's not too smart either