added RCA calculation option