modified mac format to use dashes