wip to register button click