Move logic from hoax_tab into hoax_invocation