complete the metris functions