made qtiGenie functions depend on internal instrument