adaptation for raspberry pi