don't use concat as it is slow on Safari