adds comment to ai.rkt and optimizies and conditional