implemented avatar in network