debugging portfolio methods