Edited oedl code to contain all devices