add on-remote helper function
add on-click helper function