synchronous download example