controller now controls model