Made AI and updated curve