new filter design, better phase handling