basic ai that kinda works