Compiles at least, now to get it to sep seg faulting!