prepare for cap
prepare for cap