prepare proper framework structure