Assignment of Scala - for reference