trying a different approach to the AI