add binding and tests