Change function member to register

I hope it's good ! :D