added missing class for metric calculator