changes to Corbin's AI to improve performance