tweak c main() snippet