added fir filter code