casted np array to list