added output to device, so it can be chained
renamed device to simulated device