completed steps of matrix generation presentation and backend