added matricies