First version working. Need to improve the download time