max loc diagram