first version with progress bar wip