common funcions in TLE process