As part of my PhD, 20% of my time goes to teaching. During my master's I was also a teaching assistant at the IT department.