extracting shraed code