update to 2851

remove inline random