Using the cmp intermeduate layer