implemented protocol stuff
newly generated file