DIS library in scala