worked on A.I. a bit