Using a function library