How to write a capstone