deploy and cap