more stuff for the teleportation analysis.