use library function