working on sockets images