add klass and bind implementation