Nitpick: might be better to hold the output of accessList.trim() in an intermediate variable instead of trimming twice.