add intermediateSelectCommand
add break
bug fix
bug fix
remove debugging code
Merge pull request #25 from medo/sara_intermediateSelect

Sara intermediate select