making it smarter