device operations function definitions