added notebook controller to display writings