devices moved to separate files