matrix nearly done