rewritten ugb notebook