Master method in F#