added drawing downlaod functionality