scala for study