work towards merging sock with the parser