SMS: Fundamentals of auditing