Code re org to find seg fault