Perhaps adding a comment in the code about this separator stuff would help understand this section?