added succes/failure distinction to loading bar