improving funcionalities and removing progressbar