first notebook vresion, extracts the main branch