add capstone formula