remove need to specify val on variables

mock socket implementation is complete