removing old de , copying def