don't allocate variables for size checking