What is going on here? I'm confused by both the original code and what is there now.