ttl as class var