adding matrix assistant