working on contact map