Use min library