a smarter J