add selection of languages; closes #22