Include ttls and some modifications