updating separator to -, extracting it to var to be able to make in configurable