Added scala syntax