first draft of optimization course