starting to write AIs