defined functions in LongInt