remove listing and adding matrix