scala paper3