hacks to make YieldsTable work (sort of)
more hacks to make this shitty code work