scala paper 2