getting array values also works