more work on the loading bar