I need to figure out exactly what this is so I can reimplement it.