some random c codes