implemented legacy download format