created structure for models