replicate the image architecture