Use of prepared statments in group and org management