finished draft of formal model