creating solution structure