added some notebook events