adjusted to rpi