migrate to cap 2