adding support for metrics timer