kinda working version of AI