add metrel calculation