now have a working AI