added progress bar and warning text