cleaned up example nb