minor changes
add scala examples