scala work