Prob 5 is a bit slow