Working version for capstone.