Removing unused code (the explode function)