new version is added for TTL half duplex communication