add new fn to lib