started converting old java npr programs to scala