working on AI, dynamic element addition