How does this work? Should the commented out lines below be removed?