include library function (thanks Shawn!)