More work on matrix attribute