adding lt function