Debugged actime and ess (now working)