added support for binary styles