new methods to get and set the progress

new methods to get and set the progress.