class function library