notebook formatting hell