add mview method of res