added autopcap