avg module simplified