ll func