debug lines removed