More scala like syntax