adding code to doc mvp finished