Functions work well