added function binding to "good parts"