Someone else's code--explained