New version using defne.