working on metric contractions