moving around declaration of Models