added TTL serializer