decorators to binary