removed all device-dependent code. That means anything that was