use download view function