a simplified approach for optimiz