Part of the report written
fixed a bug for AI cwk#