And what is this code supposed to do?
And what is the "listener"?