first implementation of progress bar