improved speed of loading bar with randomised loading