what exactly is happening here?