Rename two functions; refactor downloadVideo