remove entry_time function