changed the metric values to float