Added scala syntax and remove invisible chars