added mvc pattern