Change add cave to array