array works now