moving the creation of auditControlInfo into a function