mvc implementation p2