mvc implementation p1