Initial source from team1 notebook