Added variable for getting number of additional devices.