mvc implementation p3