Thanks! I should be more careful with the coding style. Is there a way to check for such stylistic mistakes? I ran scalastyle but it didn't show any errors.