added command line parameter for different device classes