some scala helpers