Finalized devisefunctionality