Removes confusing code