added helper to parse account names