added sockets' scheme