added key on matrix