scram function curve