audit functionality part 1