added a stupid stack and playing with jmp_buf arrays