bracket resizing. Also comment out logging