use ltgt module to handle ranges instead of inlining that code.