working on actual image downloading