removed "old" AQL function