first draft of scala