I think you should use obj.array instead of the case?