sync stuff before teaching