integration of AI, bug fixes