added pbar option to change speed