sort valid pair list
remove unnecessary comment
add valid pairs
version 0.0.12
merge in from working