added all of the things necessary for data curves.