- fixed example, added get_array method