debug mode
merged