core, two-pass