add ll functions