added online debug output