much better ai but not perfect..