How do Crystal work?