c: same thing with main