merge lution-ais and sharedfuncs