add binding of methods