more scala examples