attach wasn't being used properly, broke chart