Stripped down jack.c