Adding request and downloading functions