- improve Scala's style of code