Demo how to use cap