Edited sockets and changed ui