notebooks and magic