updated to test on pi