xapain bindings from source - take 2