Added pin to register call