added some console messages for test