updated to have a socket io self reference