generates Store model