~たときに — when (after doing)