homework from aim