added binary support, fixes #133