added statsd code