Ideas for implementing an IA (unfinished)