rudimentary AI COMPLETE!