new functions
datatools - history fixed