removing unnecessary .to_a