img sample architecture