working version w/ sockets
adding in *.swp