move scala ex. to latest stratosphere with old api