helper and main analyze correctly