correct array usage of examples