init commit week 3 + add function