Added function curve library