switch back to C for fun