prepare the sample architecture