added collectd function