add api method to matters model