setting up scaffolds for model