converts to binary