adding optimization docs