change modelViewClass to viewClass