device selection in modules