added loop device operations