added simmat and mask plugins