implements rivets bindings