added another ipca method