added timestamp supporting for ttl