Prevent creating unnecessary arrays