added binary instances, fix #174