modification on catty transport protocal