Progress bar functionality also working