adding ai and sources