modifications to stream images; slow and unstable