mv local defs to global
moved defs