First draft of integration