Hooking up the model