decorator values to binary