slightly comment how this works.