Carbon based electrode