functions and gt and lt