finished bones of program, started working on the sockets