adding a separated method to get curve values
minor