removed raspi-specific code