how does the substance system work?