fixed timetool and added UNIX timestamp