added costs collector

added costs collector