matrix pipeline now working