middle of defining models