Move model() to bottom