readded debug output