updated raw C extension