wiring up knockout functionality