Bringing order to chaos