custom binding function examples updated