views in scala