Add splitCommas method