End-end code for capture vertex and master scenario