added fill_phase, useful for patterns