hmm, images and sockets are tricky