more work on the aiml-stuff