everything back to controller for now; need to figure out how 'render' would work in model