changed the allResults array to array() notation