device preparation