apply scalariform