debug lines removed and braces too