Maybe it should return a tuple instead of a list?  Just an idea.