improve task library