Preparing final structure