Implemented delta timing in AI