adding knob stuff into directive