add AI component, not finished