Smarter planning