more editing on matrix