debugging print added