Explain whats happening here.