adding cdefs