needed to delete newline, and add dash into var