scala examples renamed