leave only extract code