Worked on AI Intm Function