ensured that all '-' sperated names are contained