added some console output