complete about sandwich code