Added mi9 task code