added some monitoring