added binding function