some iffy attempts to incorporate mvc